package com.hsj.springai.config;

import org.springframework.stereotype.Service;

@Service
public class AServiceImpl implements AService{

    @Override
    public void pay(String id) {
                System.out.println("开始支付"+id);

    }
    @Override
    public void pay() {
        System.out.println("开始支付");
        int a = 10/0;
    }
}
